package br.com.fpf.pontoapp.activitys;

import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;

import org.junit.Test;
import org.junit.runner.RunWith;

import br.com.fpf.pontoapp.R;
import br.com.fpf.pontoapp.activitys.MainActivity;
import br.com.fpf.pontoapp.runner.RunnerTest;

/**
 * @author irlan.gomes
 * 
 */
@RunWith(RunnerTest.class)
public class MainActivityTest {

	@Test
	public void testBasicResourceValue() throws Exception {
		String helloFromActivity = new MainActivity().getResources().getString(
				R.string.hello_world);
		assertThat(helloFromActivity, equalTo("Hello world!"));
	}

}
